from django.apps import AppConfig

class BattleConfig(AppConfig):
    default_auto_field = 'django.db.models.BigAutoField'
    name = 'battle'
    verbose_name = '战斗工具'

    def ready(self):
        import battle.signals  # 导入信号处理器 